package cn.king.springframework.aop;

/**
 * 被代理的目标对象
 */
public class TargetSource {
    private final Object target;

    public TargetSource(Object target) {
        this.target = target;
    }
    public Class<?>[] getTargetClassInterfaces(){
        return this.target.getClass().getInterfaces();
    }
    public Object getTarget(){
        return this.target;
    }
}
